package com.tddx.activiti.test;

public class Singleton {

	private static Singleton singleton = new Singleton();
	public static int counter1;
	public static long counter2 = 5;

	private Singleton() {
		System.out.println(counter1);
		System.out.println(counter2);
		counter1++;
		counter2++;
		System.out.println(counter1);
		System.out.println(counter2);
	}

	public static void main(String[] args) throws Exception {
		System.out.println("counter1 :" + singleton.counter1);
		System.out.println("counter2 :" + singleton.counter2);
	}
}
